LiteLFGAddon = EVA.Addon:New()
LiteLFGAddon.Name = "LiteLFG"
LiteLFGAddon.Version = "1.4"
LiteLFGAddon.Description = "Joins LFG-Channel easily. EVA-based Addon. URL[http://wiki.cwowaddon.com/EVA]"
EVA.AddonRegistry:Add(LiteLFGAddon)

---------------------------- Blocks ----------------------------
local initBlock = {
	Name = "",
	Description = "",
	Enabled = true,
	RequestTypes = {"Event"},
	Events = {"VARIABLES_LOADED"},
	Commands = {
		{Description = "", Function = LiteLFG.Init},
	}
}

local commandBlock = {
	Name = "",
	Description = "",
	Enabled = true,
	RequestTypes = {"SlashCommand"},
	SlashCommands = {"/llfg"},
	Commands = {
		{Description = "", Function = LiteLFG.ToggleLFGChannel},
	}
}

local changetextBlock = {
	Name = "",
	Description = "",
	Enabled = true,
	RequestTypes = {"Event"},
	Events = {
		"PARTY_MEMBERS_CHANGED",
		"CHAT_MSG_CHANNEL_NOTICE"
	},
	Commands = {
		{Description = "", Function = LiteLFG.SetTextToButton},
	}
}

LiteLFGAddon:Add(EVA.Block:New(initBlock))
LiteLFGAddon:Add(EVA.Block:New(commandBlock))
LiteLFGAddon:Add(EVA.Block:New(changetextBlock))
